package com.qf.pojo;

import com.qf.entity.CustomerEntity;
import com.qf.entity.OrderDetailEntity;

import java.util.Date;
import java.util.List;

public class OrderPojo {
    private String oid;
    private int cid;
    private int ostatus;//订单状态
    private Date ocreateDate;
    private float ototal;
    private int addressId; //地址id
    private int isdelete;

    private CustomerEntity ce;//这个订单是哪个用户的
    private List<OrderDetailEntity> orderDetails;
    private AddressPojo addressEntities;//订单中的地址

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getOstatus() {
        return ostatus;
    }

    public void setOstatus(int ostatus) {
        this.ostatus = ostatus;
    }

    public Date getOcreateDate() {
        return ocreateDate;
    }

    public void setOcreateDate(Date ocreateDate) {
        this.ocreateDate = ocreateDate;
    }

    public float getOtotal() {
        return ototal;
    }

    public void setOtotal(float ototal) {
        this.ototal = ototal;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public CustomerEntity getCe() {
        return ce;
    }

    public void setCe(CustomerEntity ce) {
        this.ce = ce;
    }

    public List<OrderDetailEntity> getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(List<OrderDetailEntity> orderDetails) {
        this.orderDetails = orderDetails;
    }

    public AddressPojo getAddressEntities() {
        return addressEntities;
    }

    public void setAddressEntities(AddressPojo addressEntities) {
        this.addressEntities = addressEntities;
    }
}
